#fsdbAutoSwitchDumpfile 2000 "$env(WAVE_NAME)" 10
fsdbDumpfile wave.fsdb
fsdbDumpvars 0 "top_tb" +all

run 
fsdbDumpflush